{***************************************************************
    SpyGestion  Copyright (C) 2008 Christophe KOALI <nature2gas@gmail.com>
    
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.
    
    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.
    
    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
****************************************************************}
unit modFlottesList;

interface

uses Classes, SysUtils, modBaseType;

(*
Cette unités correspond à ce type de données:

Flottes (max. 11)
Nr. 	Ordre 	Nombre 	Départ 	Temps d'expédition 	Objectif 	Temps d'arrivée 	Ordre
1 	Transport (R) 	5 	[1:200:4] 	Fri Oct 17 20:44:32 	[1:220:4] 	Fri Oct 17 22:12:02
2 	Transport (F) 	42 	[1:200:4] 	Fri Oct 17 7:21:10 	[1:220:4] 	Sat Oct 18 6:21:45
3 	Baser (F) 	218 	[1:200:4] 	Fri Oct 17 20:15:14 	[1:220:4] 	Sat Oct 18 23:14:05
*)

type
    TFlotteMvt = record
       Numero: integer;
       Ordre: TOGOrdre;
       Sens: TOGDirection;  // R pour Retour, F pour Aller
       Details: string;     // Dans Ordre, comme info bulle on peut connaitre le nombre et le type des vaisseaux des fois

       TotalVaisseaux: integer;
       
       Depart: TPlanetLocation;
       Arrivee: TPlanetLocation;

       DateExp: string;
       DateArrivee: string;
       

       RetourFormPost: string;  // Lien qui permet d'ordonner le retour de la flotte
       RetourFormParam: string; // Donnees à poster
       
(*   <form action="flotten1.php?session=11111111" method="POST">
	<input type="hidden" name="order_return" value="5141229" />
        <input type="submit" value="Retour" />
     </form>
     *)
    end;

implementation

end.
